//
//  CarFactory.h
//  设计模式
//
//  Created by huyang on 2020/7/1.
//  Copyright © 2020 test. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Car;
NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    CarType_JeepCar,
    CarType_SUVCar,
    CarType_BigCar
} CarType;


@interface CarFactory : NSObject

+ (Car *)creatCarWithType:(CarType)type;


@end

NS_ASSUME_NONNULL_END
